<%@page import="com.dfhc.ISystemConstant"%>
<%@page import="java.util.ArrayList"%>
<%@page import="org.quickbundle.project.RmProjectHelper"%>
<%@page import="org.quickbundle.project.common.vo.RmCommonVo"%>
<%@page import="java.util.List"%>
<%@ page contentType="text/html; charset=UTF-8" session="false" language="java" isELIgnored="false"%> 


<%

String pcode=(String)request.getSession(true).getAttribute(ISystemConstant.RM_PARENT_CODE);//来自父节点标志

String childSource=(String)request.getSession(false).getAttribute(ISystemConstant.RM_CHILD_SOURCE);//来自子节点

childSource=childSource==null?"0":childSource.substring(2,3);

String sql="select  name  from RM_FUNCTION_NODE where  TOTAL_CODE ";
String pName="";
List<RmCommonVo> vos =  RmProjectHelper.getCommonServiceInstance().doQuery(sql + "=" +pcode);
if(vos!=null && vos.size()>0){
	RmCommonVo vo = vos.get(0);
	pName = vo.get("name")==null?"":vo.get("name").toString();
}
String childName="";
vos =  RmProjectHelper.getCommonServiceInstance().doQuery(sql + "like '" +pcode+"%"+childSource+"'");
if(vos!=null && vos.size()>0){
	RmCommonVo vo = vos.get(0);
	childName = vo.get("name")==null?"":vo.get("name").toString();
}
%>
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="<%=request.getContextPath()%>"  target="_parent">首页</a>
							</li>

							<li>
								<a href="#"><%=pName%></a>
							</li>
							<li class="active"><%=childName%></li>
						</ul><!-- .breadcrumb -->

					</div>	
		
